import {request} from "@/request/request.js"

//获取openid接口
export const getOpenid =(data)=>{
	return request({
		url:'/wechat/mini/login',
		method:'post',
		data
	})
}

//微信授权登录接口
export const wxLogin = (data)=>{
	return request({
		method:'post',
		url:'/login/wechatMini',
		data
	})
}